﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="bookingdetail1.aspx.cs" Inherits="EZCRS.HCMS.Web.manage.booklog.bookingdetail1" %>

<%@ Register Src="../usercontrol/titlepage.ascx" TagName="titlepage" TagPrefix="uc2" %>
<%@ Register assembly="Book38.Net.CustomControl" namespace="Book38.Net.CustomControl" tagprefix="cc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
    
  <link rel='stylesheet' href='../../Style/main.css'/>
    <style type="text/css">
        .style1
        {
            height: 34px;
        }
        .w100{width:100px;}
    </style>
</head>
<body>
     <form id="form1" runat="server">
     

    
    <table  cellpadding="0" cellspacing="0" id="maintable" class="main-table" >
      <tr class="line-even">
        <td style="width:70%" valign="top">
        
        <table border="0" cellspacing="0" cellpadding="0" class="main-table" >
          <tr class="line-odd">
            <td style="width:80px;" align="right"><asp:Label runat="server" ID="LabCardNumbUsrName2" Text="订单产生"></asp:Label>
                ：</td>
            <td  style="width:40%;"><asp:Label ID="LabConfirm" runat="server"></asp:Label></td>
            <td  style="width:80px;">&nbsp;</td>
            <td style="width:40%;">&nbsp;</td>
          </tr>
          <tr class="line-even">
            <td align="right"><asp:Label runat="server" ID="LabCardNumbUsrName3" Text="预订状态"></asp:Label>：</td>
            <td><asp:Label ID="LabRooms" runat="server"></asp:Label></td>
            <td>处理状态：</td>
            <td><asp:Label ID="Label34" runat="server"></asp:Label></td>
          </tr>
          <tr class="line-odd">
            <td align="right"><asp:Label runat="server" ID="LabCardNumbUsrEmail2" Text="预订确认号"></asp:Label>：</td>
            <td><asp:Label ID="LabTrueName" runat="server"></asp:Label></td>
            <td>渠道ID号：</td>
            <td><asp:Label ID="Label33" runat="server"></asp:Label></td>
          </tr>
          <tr class="line-even">
            <td align="right"><asp:Label runat="server" ID="Label1" Text="客人姓名"></asp:Label>：</td>
            <td><asp:Label ID="LabCheck" runat="server"></asp:Label></td>
            <td>客人身份证：</td>
            <td><asp:Label ID="Label32" runat="server"></asp:Label></td>
          </tr>
          <tr class="line-odd">
            <td align="right"><asp:Label runat="server" ID="LabCardNumbUsrFirstLastName" Text="其它客人姓名"></asp:Label>：</td>
            <td><asp:Label ID="LabCreateDate" runat="server"></asp:Label></td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
            <tr class="line-even">
            <td align="right"><asp:Label runat="server" ID="Label4" Text="房间数"></asp:Label>：</td>
            <td><asp:Label ID="LabAddress" runat="server"></asp:Label></td>
            <td>客人数：</td>
            <td><asp:Label ID="Label31" runat="server"></asp:Label></td>
            </tr>
          <tr class="line-odd">
            <td align="right"><asp:Label runat="server" ID="Label2" Text="入住日期"></asp:Label>：</td>
            <td><asp:Label ID="LabTelphone" runat="server"></asp:Label></td>
            <td>房型：</td>
            <td><asp:Label ID="Label30" runat="server"></asp:Label></td>
          </tr>
          <tr class="line-even">
            <td align="right">离店日期：</td>
            <td><asp:Label ID="LabTelphone0" runat="server"></asp:Label></td>
            <td>计划：</td>
            <td><asp:Label ID="Label29" runat="server"></asp:Label></td>
          </tr>
          <tr class="line-odd">
            <td align="right"><asp:Label runat="server" ID="LabCardNumbUsrBirthday" Text="预订总价"></asp:Label>：</td>
            <td><asp:Label ID="LabHotel" runat="server"></asp:Label></td>
            <td>抵达时间：</td>
            <td><asp:Label ID="Label28" runat="server"></asp:Label></td>
          </tr>
          <tr class="line-even">
            <td align="right"><asp:Label runat="server" ID="LabCardNumbUsrNationality" Text="每日房价"></asp:Label>：</td>
            <td><asp:Label ID="LabRoomName" runat="server"></asp:Label></td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr class="line-odd">
            <td align="right" style="height: 26px"><asp:Label runat="server" ID="LabCardNumbIdType" Text="备注"></asp:Label>：</td>
            <td style="height: 26px"><asp:Label ID="LabCXL" runat="server"></asp:Label></td>
            <td style="height: 26px">&nbsp;</td>
            <td style="height: 26px">&nbsp;</td>
          </tr>
          <tr class="line-even">
            <td align="right"><asp:Label runat="server" ID="LabCardNumbIdNo" Text="房型描述"></asp:Label>：</td>
            <td><asp:Label ID="LabGUA" runat="server"></asp:Label></td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr class="line-odd">
            <td align="right"><asp:Label runat="server" ID="Label3" Text="价格计划"></asp:Label>：</td>
            <td><asp:Label ID="Label5" runat="server"></asp:Label></td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr class="line-even">
            <td align="right"><asp:Label runat="server" ID="Label6" Text="取消制度"></asp:Label>：</td>
            <td><asp:Label ID="Label7" runat="server"></asp:Label></td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr class="line-odd">
            <td align="right"><asp:Label runat="server" ID="Label8" Text="保证金制度"></asp:Label>：</td>
            <td><asp:Label ID="Label9" runat="server"></asp:Label></td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr class="line-even">
            <td align="right"><asp:Label runat="server" ID="Label10" Text="信用卡类型"></asp:Label>：</td>
            <td><asp:Label ID="Label11" runat="server"></asp:Label></td>
            <td>信用卡号码：</td>
            <td><asp:Label ID="Label27" runat="server"></asp:Label></td>
          </tr>
          <tr class="line-odd">
            <td align="right"><asp:Label runat="server" ID="Label12" Text="持卡人姓名"></asp:Label>：</td>
            <td><asp:Label ID="Label13" runat="server"></asp:Label></td>
            <td>信用卡有效期：</td>
            <td><asp:Label ID="Label26" runat="server"></asp:Label></td>
          </tr>
          <tr class="line-even">
            <td align="right"><asp:Label runat="server" ID="Label14" Text="CVV码"></asp:Label>：</td>
            <td><asp:Label ID="Label15" runat="server"></asp:Label></td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr class="line-odd">
            <td align="right"><asp:Label runat="server" ID="Label16" Text="其它客人姓名"></asp:Label>：</td>
            <td><asp:Label ID="Label17" runat="server"></asp:Label></td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr class="line-even">
            <td align="right"><asp:Label runat="server" ID="Label18" Text="客人特殊要求"></asp:Label>：</td>
            <td><asp:Label ID="Label19" runat="server"></asp:Label></td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <!--tr class="line-odd">
            <td align="right"><asp:Label runat="server" ID="Label20" Text="担保状态"></asp:Label>：</td>
            <td><asp:Label ID="Label21" runat="server"></asp:Label></td>
            <td>预付状态：</td>
            <td><asp:Label ID="Label25" runat="server"></asp:Label></td>
          </tr>
          <tr class="line-even">
            <td align="right"><asp:Label runat="server" ID="Label22" Text="担保类型"></asp:Label>：</td>
            <td><asp:Label ID="Label23" runat="server"></asp:Label></td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr class="line-odd">
            <td align="right"><asp:Label runat="server" ID="Label24" Text="担保确认"></asp:Label>：</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr-->
        </table>
        
        
          </td>
         <td valign="top" style="width:30%"><table style="margin-left:10px;" border="0" align="center" cellpadding="0" cellspacing="0" class="main-table" >
            <tr class="line-odd">
              <td colspan="2" align="center" class="title1"><asp:Label runat="server" ID="LabCardNumbDistributeCardNumb" Text="订单处理"></asp:Label></td>
            </tr>
            <tr>
              <td  style="width:80px;" align="right">
                  <asp:Label runat="server" ID="LabCardNumbCardNumb" Text="确认号"></asp:Label>：</td>
              <td><asp:TextBox ID="txtContactName2" CssClass="text-line w100" runat="server"></asp:TextBox> <input type="button" Class="bttn" value="修改确认号" onclick="chgconfnum();"/></td>
            </tr>
            <tr><td colspan="2"><asp:Literal ID="ltlroomday" runat="server"></asp:Literal></td></tr>
             <tr>
              <td align="right"><asp:Label runat="server" ID="LabCardNumbComment" Text="处理状态"></asp:Label>：</td>
              <td><asp:DropDownList ID="ddlstatus" runat="server"></asp:DropDownList>
                  &nbsp;<input type="button" id="btnchange" Class="bttn" value="修改状态" onclick="chgstatus();"/></td>
            </tr>
            </table><br />
          <table style="margin-left:10px;" border="0" align="center" cellpadding="0" cellspacing="0" class="main-table" >
            <tr class="line-odd">
              <td colspan="2" align="center" class="title1"><asp:Label runat="server" ID="Label36" Text="订单备注信息"></asp:Label></td>
            </tr>
            <tr>
              <td  style="width:80px;" align="right">
                  <asp:Label runat="server" ID="Label37" Text="备注人"></asp:Label>：</td>
              <td><asp:Label ID="labcomuser" runat="server"></asp:Label></td>
            </tr>
             <tr>
              <td align="right"><asp:Label runat="server" ID="Label38" Text="时间"></asp:Label>：</td>
              <td><asp:Label ID="labcomdate" runat="server"></asp:Label></td>
            </tr>
            <tr>
              <td align="right"><asp:Label runat="server" ID="Label60" Text="备注"></asp:Label>：</td>
              <td><asp:TextBox ID="txtcomdetail" runat="server" Height="95px" 
                      TextMode="MultiLine" Width="250px"></asp:TextBox></td>
            </tr>
            <tr>
              <td class="style1"></td>
              <td class="style1">&nbsp;<input type="button"  Class="bttn" 
                      value="新增" onclick="commentsave();"/>&nbsp;（<a href="commentlist.aspx?v=<%=verifyCode %>" target="_blank">历史备注</a>）</td>
            </tr>
          </table>
          <br />
          <table style="margin-left:10px;" border="0" align="center" cellpadding="0" cellspacing="0" class="main-table" >
            <tr class="line-odd">
              <td colspan="2" align="center" class="title1"><asp:Label runat="server" ID="Label39" Text="TA详情信息"></asp:Label></td>
            </tr>
            <tr>
              <td  style="width:80px;" align="right">
                  <asp:Label runat="server" ID="Label40" Text="用户名"></asp:Label>：</td>
              <td><asp:Label ID="labTaName" runat="server"></asp:Label></td>
            </tr>
             <tr>
              <td align="right"><asp:Label runat="server" ID="Label41" Text="公司名称"></asp:Label>：</td>
              <td><asp:Label ID="labTaCompanyName" runat="server"></asp:Label></td>
            </tr>
             <tr>
              <td align="right"><asp:Label runat="server" ID="Label56" Text="电话号码"></asp:Label>：</td>
              <td><asp:Label ID="labTaTel" runat="server"></asp:Label></td>
            </tr>
             <tr>
              <td align="right"><asp:Label runat="server" ID="Label57" Text="传真号码"></asp:Label>：</td>
              <td><asp:Label ID="labTaFax" runat="server"></asp:Label></td>
            </tr>
             <tr>
              <td align="right"><asp:Label runat="server" ID="Label58" Text="Email"></asp:Label>：</td>
              <td><asp:Label ID="labTaEmail" runat="server"></asp:Label></td>
            </tr>
             <tr>
              <td align="right"><asp:Label runat="server" ID="Label59" Text="IATA"></asp:Label>：</td>
              <td><asp:Label ID="labTaIata" runat="server"></asp:Label></td>
            </tr>
            </table><br />
          <table style="margin-left:10px;" border="0" align="center" cellpadding="0" cellspacing="0" class="main-table" >
            <tr class="line-odd">
              <td colspan="2" align="center" class="title1"><asp:Label runat="server" ID="Label42" Text="酒店详细信息"></asp:Label></td>
            </tr>
            <tr>
              <td  style="width:80px;" align="right">
                  <asp:Label runat="server" ID="Label43" Text="酒店名称"></asp:Label>：</td>
              <td><asp:Label ID="labHotelTitle" runat="server"></asp:Label></td>
            </tr>
             <tr>
              <td align="right"><asp:Label runat="server" ID="Label44" Text="PID"></asp:Label>：</td>
              <td><asp:Label ID="labHotelPid" runat="server"></asp:Label></td>
            </tr>
            <tr>
              <td align="right"><asp:Label runat="server" ID="Label45" Text="酒店集团"></asp:Label>：</td>
              <td><asp:Label ID="labHotelGroup" runat="server"></asp:Label></td>
            </tr>
            <tr>
              <td align="right"><asp:Label runat="server" ID="Label46" Text="酒店类型"></asp:Label>：</td>
              <td><asp:Label ID="labHotelType" runat="server"></asp:Label></td>
            </tr>
            <tr>
              <td align="right"><asp:Label runat="server" ID="Label47" Text="AIR等级"></asp:Label>：</td>
              <td><asp:Label ID="labHotelAir" runat="server"></asp:Label></td>
            </tr>
            <tr>
              <td align="right"><asp:Label runat="server" ID="Label48" Text="日审酒店"></asp:Label>：</td>
              <td><asp:Label ID="latHotelType1" runat="server"></asp:Label></td>
            </tr>
            <tr>
              <td align="right"><asp:Label runat="server" ID="Label49" Text="PMS酒店"></asp:Label>：</td>
              <td><asp:Label ID="labHotelPms" runat="server"></asp:Label></td>
            </tr>
            <tr>
              <td align="right"><asp:Label runat="server" ID="Label50" Text="地址"></asp:Label>：</td>
              <td><asp:Label ID="labHotelAddress" runat="server"></asp:Label></td>
            </tr>
            <tr>
              <td align="right"><asp:Label runat="server" ID="Label51" Text="行政区"></asp:Label>：</td>
              <td><asp:Label ID="labHotelDist" runat="server"></asp:Label></td>
            </tr>
            <tr>
              <td align="right"><asp:Label runat="server" ID="Label52" Text="商业区"></asp:Label>：</td>
              <td><asp:Label ID="labHotelComm" runat="server"></asp:Label></td>
            </tr>
            <tr>
              <td align="right"><asp:Label runat="server" ID="Label53" Text="电话号码"></asp:Label>：</td>
              <td><asp:Label ID="labHotelTel" runat="server"></asp:Label></td>
            </tr>
            <tr>
              <td align="right"><asp:Label runat="server" ID="Label54" Text="传真号码"></asp:Label>：</td>
              <td><asp:Label ID="labHotelFax" runat="server"></asp:Label></td>
            </tr>
            <tr>
              <td align="right"><asp:Label runat="server" ID="Label55" Text="Email"></asp:Label>：</td>
              <td><asp:Label ID="labHotelEmail" runat="server"></asp:Label></td>
            </tr>
            
          </table></td>
      </tr>
    </table>
    
    </form>
  <script language="javascript" type="text/javascript">
  function commentsave()
  {
    if($F("txtcomdetail").value!="")
    {debugger
      EZCRS.HCMS.myajax.BookLog.SaveComment($F("txtcomdetail").value,'<%=verifyCode %>',function(resp){if(resp.value=="1"){alert('保存成功！');}else{alert('保存失败，稍后重试！');}});
    }
    else
    {
     alert('please');
    }
  }
  
  function chgstatus()
  {
  debugger
    var innamelist=document.getElementsByName("roomdayname");
    var inroomdaystatus=document.getElementsByName("roomdaystatus");
    var incheckin=document.getElementsByName("roomdaycheckin");
    var incheckout=document.getElementsByName("roomdaycheckout");
    var inroomno=document.getElementsByName("roomdayroomno");
    var inid=document.getElementsByName("hidrid");
    
    var bookstatus=$F("ddlstatus").value;
    
    var mylist="[";
    
    for(var i=0;i<innamelist.length;i++)
    {
      mylist+="['"+innamelist[i].value+"','"+inroomdaystatus[i].value+"','"+incheckin[i].value+"','"+incheckout[i].value+"','"+inroomno[i].value+"','"+inid[i].value+"'],";
    }
    mylist=mylist.substring(0,mylist.length-1);
    mylist+="]";
    EZCRS.HCMS.myajax.BookLog.SaveRoomDay(mylist,bookstatus,'<%=verifyCode %>',function(resp){if(resp.value=="1"){alert('保存成功！');}else{alert('保存失败，稍后重试！');}});
    
  }
  
  function chgconfnum()
  {
    var newconfnum=$F("txtContactName2").value;
    if(newconfnum!="")
    {
     EZCRS.HCMS.myajax.BookLog.SaveNewConfnum(newconfnum,'<%=verifyCode %>',function(resp){if(resp.value=="1"){alert('保存成功！');}else{alert('保存失败，稍后重试！');}});
    }
  }
  </script>
</body>
</html>

